#include <implementation_visitor.hpp>
Public Member Functions | |
| ImplementationVisitor (void) | |
| Default constructor. | |
| virtual | ~ImplementationVisitor (void) |
| Destructor. | |
| virtual void | visit (PetscVectorWrapper &) |
| The default visit (should just assert or do nothing). | |
| virtual void | visit (PetscMatrixWrapper &) |
This is a cyclic visitor for the various math implementation classes. It is intended to be use as a parent class for things that are used to extract implementation-specific information from an implementation agnostic class.
To be safe, these should be used simultaneously on all processes.
| gridpack::math::ImplementationVisitor::ImplementationVisitor | ( | void | ) |
Default constructor.
| virtual gridpack::math::ImplementationVisitor::~ImplementationVisitor | ( | void | ) | [virtual] |
Destructor.
| virtual void gridpack::math::ImplementationVisitor::visit | ( | PetscMatrixWrapper & | ) | [virtual] |
| virtual void gridpack::math::ImplementationVisitor::visit | ( | PetscVectorWrapper & | ) | [virtual] |
The default visit (should just assert or do nothing).
1.6.1